from django.urls import re_path
from . import views

urlpatterns=[
    re_path(r'api/v1.0/sms$',views.SMSCodeView.as_view()),
    re_path(r'api/v1.0/imagecode/$',views.ImageCodeView.as_view()),
    re_path(r'api/v1.0/users$',views.RegisterView.as_view()),
    re_path(r'api/v1.0/user$',views.PersonInfoView.as_view()),
    re_path(r'api/v1.0/user/auth$',views.AuthenticationView.as_view()),
    re_path(r'api/v1.0/user/avatar$',views.UploadImageFile.as_view()),
    re_path(r'api/v1.0/session$',views.LoginView.as_view()),
    re_path(r'api/v1.0/user/name$', views.Rename.as_view()),
]